package main

// 基础

import "fmt"

// 定义结构体
type Student struct {
	name string
	age  int
}

func main() {
	var s1 = Student{name: "张三", age: 20}
	var s2 = Student{name: "李四", age: 21}

	fmt.Println(s1)
	fmt.Println(s1 == s2) // false

	var s3 = Student{age: 21, name: "李四"}
	fmt.Println(s2 == s3) // true

}
